package com.gqz.patrol.app.mapstruct;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.gqz.patrol.app.entity.EnPatrolTaskPeriodEntity;
import com.gqz.patrol.vo.EnPatrolTaskPeriodVo;
import org.mapstruct.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;


/**
 * @ClassName EnPatrolTaskPeriodMapstruct
 * @Description 能源-巡视工单_周期任务表
 */
@Mapper(componentModel = "spring", imports = {})
@Component
public interface EnPatrolTaskPeriodMapstruct {

    EnPatrolTaskPeriodVo toVo(EnPatrolTaskPeriodEntity entity);

    List<EnPatrolTaskPeriodVo> toVos(List<EnPatrolTaskPeriodEntity> entity);

    Page<EnPatrolTaskPeriodVo> toVos(Page<EnPatrolTaskPeriodEntity> entity);

    EnPatrolTaskPeriodEntity toEntity(EnPatrolTaskPeriodVo vo);

    List<EnPatrolTaskPeriodEntity> toEntitys(List<EnPatrolTaskPeriodVo> vos);


}
